package com.example.javasample.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 租户
 *
 * @author Kylin
 */
@Schema(name = "租户", description = "租户对象")
@TableName("tenant")
@Data
@EqualsAndHashCode(callSuper = true)
public class TenantDO extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "租户ID")
    private Long id;

    @Schema(description = "租户名称")
    private String name;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "联系人")
    private String contact;

}
